﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xejen.Database.Ef
{
    /// <summary>
    /// 表示带有<see cref="DbContext"/>的仓储访问
    /// </summary>
    /// <creator>marc</creator>
    public interface IRepositoryWithDbContext
    {
        /// <summary>
        /// 获取<see cref="DbContext"/>对象
        /// </summary>
        /// <returns></returns>
        DbContext GetDbContext();
    }
}
